#include <cstdio>

int main(int argc, char **argv) {
  int num = 40;
  int *ptr = &num;
  printf("The value of num is %d\n", num);
  printf("The address of num is %p\n", ptr);
  return 0;
}
